package com.zueb.util;

public class PageUtils {
    public static int getIndex(Integer curPage, Integer pageSize){
        Integer index;
        index = pageSize * (curPage - 1);
        return index;
    }
}
